package com.cblz.bd.common.core.constant;

/**
 * {@code @Name:} AdminLoginConstant
 * {@code @Description: } 后台登录常量类
 * {@code @Author:} by yanjieping
 * {@code @CreateDate:} 2022/11/15 - 周二
 */
public enum AdminLoginConstant {

    LOGIN_TYPE("login","登录类型"),
    SESSION("userinfo","令牌认证后存储的用户信息Session"),
    ROUTE_PATH("/admin","登录成功后跳转的路径");

    private String value;
    private String desc;

    AdminLoginConstant(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
